<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('list_5');?><?php include template('common/header'); $list = array();?><?php $wheresql = category_get_wheresql($cat);?><?php $list = category_get_list($cat, $wheresql, $page);?><div class="wpui_nbanner banner_yewu">
    <div class="wpui_wrapper wpui_nbannerprr">
        <h1><i></i>
            <a href="./" title="首页"><?php echo $_G['setting']['bbname'];?></a><em>/</em><a href="<?php echo $_G['setting']['navs'][1]['filename'];?>"><?php echo $_G['setting']['navs'][1]['navname'];?></a><em>/</em><?php if(isset($cat['ups']) && is_array($cat['ups'])) foreach($cat['ups'] as $value) { ?><a href="<?php echo getportalcategoryurl($value['catid']); ?>"><?php echo $value['catname'];?></a><em>/</em><?php } ?><span><?php echo $cat['catname'];?></span>
        </h1>
        <h2><?php echo $cat['catname'];?></h2>
        <?php if(($_G['group']['allowpostarticle'] || $_G['group']['allowmanagearticle'] || $categoryperm[$catid]['allowmanage'] || $categoryperm[$catid]['allowpublish']) && empty($cat['disallowpublish'])) { ?>
        <span class="wpui_fabiaobtn"><a href="portal.php?mod=portalcp&amp;ac=article&amp;catid=<?php echo $cat['catid'];?>">+ <?php echo $lang['wpui_fabu'];?></a></span>
        <?php } ?>
    </div>
</div>
<div class="wpui_yewu">
    <ul>
        <?php if(isset($list['list']) && is_array($list['list'])) foreach($list['list'] as $key => $val) { ?>        <?php $url = fetch_article_url($val);?>        <li class="wow fadeInUp">
            <?php if($val['pic']) { ?>
            <dl class="wpui_wrapper">
                <dt><h1><img src="<?php echo $val['pic'];?>"></h1></dt>
                <dd>
                    <h2><?php echo $val['title'];?></h2>
                    <p><?php echo $val['summary'];?></p>
                    <a class="ywmore" href="<?php echo $url;?>"><span><?php echo $lang['wpui_chakanmore'];?></span><i></i></a>
                </dd>
            </dl>
            <?php } else { ?>
            <dl class="wpui_wrapper no">
                <dd>
                    <h2><?php echo $val['title'];?></h2>
                    <p><?php echo $val['summary'];?></p>
                    <a class="ywmore" href="<?php echo $url;?>"><span><?php echo $lang['wpui_chakanmore'];?></span><i></i></a>
                </dd>
            </dl>
            <?php } ?>
        </li>
        <?php } ?>
    </ul>
</div>
<div class="wpui_wrapper ovh"><div class="page"><?php echo $list['multi'];?></div></div><?php include template('common/footer'); ?>